<template>
  <a-button type="primary" @click="gosongdadingdan">一键送达订单</a-button>
</template>

<script setup>
import {Modal} from "ant-design-vue";
import myaxios from "../../Axios/myaxios";
const gosongdadingdan = async ()=>{
  const response = await myaxios.get('/rider/riderAllPullOrders');
  if (response.message==='未知错误'){
    // console.log(qqq)
    let success = Modal.success({
      title: '提示',
      content: '一键送达订单成功',
    });
  }
}


</script>

<style scoped>

</style>
